package com.example.helloworld.controller;

import org.springframework.web.bind.annotation.*;

@RestController
public class Hellocontroller {
        @PostMapping ("/hello2")
        public String hello(String name, Integer age){
        System.out.println("我的名字是"+name+"年龄是"+age);
        return "OK";
        }
}
